<!DOCTYPE html>
<html lang="zh">
<head>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>家庭作业新增编辑</title>
    <link href="../../css/base.css" rel="stylesheet" type="text/css"/>
    <link href="../../css/main.css" rel="stylesheet" type="text/css"/>
    <link href="../../js/lib/LCalendar/LCalendar.css" rel="stylesheet">
</head>
<body id="house_edit">
<div class="top_title">
    <div class="titles clearfix">
        <div class="titles_left_label fl">
            <label class="iconfont icon-jiantou1"></label>
        </div>
        <div class="titles_center_info fl">
            <span>班级名称</span>
        </div>
    </div>
    <div class="hz_content">
        <div class="select-type">
            <h6>选择类型</h6>
            <ul>
                <li>
                    <div class="box">
                        <i class="iconfont icon-zhunbei blue"></i>
                        <span>课前准备</span>
                    </div>
                    <div class="select">
                        <input type="radio" name="select-type" id="kqzb"/>
                        <label for="kqzb"></label>
                    </div>
                </li>
                <li>
                    <div class="box">
                        <i class="iconfont icon-zuoye red"></i>
                        <span>家庭作业</span>
                    </div>
                    <div class="select">
                        <input type="radio" name="select-type" id="jtzy"/>
                        <label for="jtzy"></label>
                    </div>
                </li>
            </ul>
        </div>
        <div class="set-time">
            <span>上交时间</span>
            <input type="text" id="time" placeholder="选择时间">
            <i class="iconfont icon-jikediancanicon13"></i>
        </div>
        <div class="word">
            <h6>填写内容</h6>
            <textarea id="word" placeholder="请填写内容"></textarea>
        </div>
        <div class="submit">提 交</div>
    </div>
</div>
<script src="../../js/rem.js"></script>
<script src="../../js/lib/jquery.js" type="text/javascript"></script>
<script src="../../js/lib/LCalendar/LCalendar.js"></script>
<script>
    /*时间控件*/
    var calendar = new LCalendar();
    calendar.init({
        'trigger': '#time', //标签id
        'type': 'date', //date 调出日期选择 datetime 调出日期时间选择 time 调出时间选择 ym 调出年月选择,
        'minDate': '1900-1-1', //最小日期
        'maxDate': '2100-1-1'  //最大日期
    });
    $(".box").click(function () {
        $(this).parent().find('label').click();
    })
</script>
</body>
</html>